﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VteamProjectAssistant.EntityWindow
{
    /// <summary>
    /// 实体属性
    /// </summary>
    class EntityField
    {

        /// <summary>
        /// 实体名称
        /// </summary>
        public string EntityName { get; set; }

        /// <summary>
        /// 属性名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 描述
        /// </summary>

        public string Description { get; set; }

        /// <summary>
        /// 是否为主键
        /// </summary>

        public bool PrimaryKeyFlag { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>

        public string SqlType { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>

        public string DefaultValue { get; set; }

        /// <summary>
        /// 是否非空标记
        /// </summary>

        public bool NotNullFlag { get; set; }
    }
}
